System and method for generating an application structure for an application in a computerized organization

ABSTRACT

A computerized system and method for generating an application structure for an application in a computerized organization having a plurality of components. An implementation includes generating the application structure for the application by including, in the application structure, applicative components and connections between applicative components identified using a first entry point. In an implementation, the identification of the applicative components and the connections between applicative components includes applying a first set of patterns against a first component associated with the first entry point to identify a first applicative component of the applicative components and a first connection of the connections, the first connection including a second entry point. The applicative components and the connections between applicative components can be recursively identified.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of U.S. patent application Ser. No. 14/967,614, filed Dec. 14, 2015, which is a continuation of U.S. patent application Ser. No. 13/816,142, filed Aug. 20, 2013, now U.S. Pat. No. 9,215,270. The contents of each are incorporated herein in their entirety by reference.

TECHNICAL FIELD

The present disclosure relates generally to generating an application structure for an application in a computerized organization.

BACKGROUND

Conventional technology in a computerized organization is described in Wikipedia, where it states that “multi-tier architecture (often referred to as n-tier architecture) is a client-server architecture in which the presentation, the application processing, and the data management are logically separate processes. For example, an application that uses middleware to service data requests between a user and a database employs multi-tier architecture. The most widespread use of multi-tier architecture is three-tier architecture.”

Wikipedia further describes n-tier application architecture as “provid[ing] a model for developers to create a flexible and reusable application. By breaking up an application into tiers, developers only have to modify or add a specific layer, rather than have to rewrite the entire application over. There should be a presentation tier, a business or data access tier, and a data tier. . . . [A] layer is a logical structuring mechanism for the elements that make up the software solution, while a tier is a physical structuring mechanism for the system infrastructure.”

Wikipedia describes a three-tier client-server architecture “in which the user interface, functional process logic (‘business rules’), computer data storage and data access are developed and maintained as independent modules, most often on separate platforms.” Further, “the three-tier architecture is intended to allow any of the three tiers to be upgraded or replaced independently as requirements or technology change. For example, a change of operating system in the presentation tier would only affect the user interface code.”

Business service management (BSM), according to Wikipedia, includes “a set of management software tools, processes and methods to manage IT (information technology)” that are designed to help an IT computerized system within a computerized organization support and maintain the main services that the IT computerized system provides to the computerized organization it is servicing.

BRIEF SUMMARY

Certain embodiments of the present disclosure describe a system and method for generating and utilizing application structure based on skeleton-based discovery and re-discovery in which, whether or not top-down discovery is executed initially, a skeleton is generated including only a tier topology and not including instance topology inside each tier because instance topologies inside individual tiers can change within minutes in cloud computing environments. Re-discovery (updates of the discovery process) are then quick enough to be effected frequently, simply by filling in the absent parts of the skeleton, typically including filling in missing instance topologies inside individual tiers. However, if it turns out that the skeleton is out of date, e.g., because the tier topology has been changed (e.g., a tier has been added or removed), the initial discovery is typically redone.

Systems and methods described herein are particularly suited for, inter alia, multi-tier architecture applications. Multi-tier architecture is advantageous because the separation of the application into tiers can lead to better scalability, as a tier can often be built as a cluster of servers, with the ability to increase or decrease the cluster size depending on usage demand.

Also described herein are methods for prioritizing information technology servicing in terms of priorities of the computerized organization rather than, or rather than solely, in terms of infrastructure level-expressed priorities. For example, the method may be constructed and operative to give more priority to an application that is important for the organization, rather than to some server or disk or network device, based on a representation of the applications and a mapping to actual resources used by these applications. The mapping typically comprises a dynamic mapping since such resources may vary over time, e.g., in cloud computing applications.

The teachings herein also include an information technology supporting system suitable for dynamic cloud environments and data centers with virtualization features. The supporting system typically includes real time mapping of applications, servers, network and storage elements to business services, dependency detection, dynamic adaptation to changes in IT infrastructure without human intervention, or a combination thereof.

Top-down discovery of applications in a computerized organization or “business,” also known as “business services,” is also described herein. Conventional systems perform bottom-up discovery by identifying all infrastructure elements, e.g., servers, storage elements, network elements, in an organization (or as many as is practical). Next, a repository of all elements thus identified is built. Dependencies between all elements in the repository may then be found. The dependencies may then be utilized to determine which infrastructure elements belong to a single business service or application, e.g., through a manual definition process. In contrast, in top-down discovery, a single entry point (typically not more) identifies a relevant process and an application with which that entry point is associated. Typically, it is sufficient for the entry point to be associated with a host name or IP address and port numbers; in some applications, the entry point may best be associated with a URL. Thereafter, discovery typically starts from the entry point to each of one or more software applications of interest to the computerized organization. Methods shown and described herein discover only the part of the application that starts at the entry point, so typically, the entry point is best defined as the beginning of the application. Dependencies between each individual infrastructure element associated with an entry point and other infrastructure elements are then found recursively, until all infrastructure elements serving a software application of interest have been identified and a topology defining dependencies there between has been identified.

Certain embodiments of the present disclosure include a method for using a skeleton to perform fast, frequent re-discovery and/or to employ real-time policies, which may be based on results of the fast, frequent re-discovery. A skeleton includes only a partial set of knowledge about an application's topology.

Uses for top-down discovery include but are not limited to: 1) an automated process for determining the structure of an application, including its components and dependencies between them; and 2) showing the impact of status changes such as server failure, out of space on a storage device, or port down on a network device on actual applications, e.g., as a result of events or notifications received from external systems such as monitoring systems, wherein the impact is applied to particular entities such as but not limited to applicative components, network elements and servers (network endpoints) known to be associated with an affected application.

A discovery process described herein includes starting from an entry point to an individual application and running through relevant patterns one by one, for each pattern checking its identification section until a match is found enabling entity identification, then running that pattern's connection sections to find all the subsequent connections and continuing recursively until all entities have been found and identified and a complete topology of the application has been determined. The discovery process may include “skeleton-based discovery,” which may or may not be top-down.

It is appreciated that analysis of a complex computerized enterprise data center to determine the structure thereof is particularly useful for maintenance of the complex computerized enterprise. This is because individual elements not infrequently go out of order, causing a large number of calls to the information technology maintenance team in the enterprise. It is advantageous to prioritize these calls, rather than handling them in either a random or first-in-first-out order. If the structure of the applications in the enterprise data center is known, prioritization of elements can be defined, e.g., by combining (using a maximum, average or other suitable formula) the importance of all applications affected by, i.e., utilizing, each particular element that is down. Also, replacement fixes can be implemented by temporarily assigning a replacement element to affected applications. Structure determination is also useful for servicing an enterprise application. For example, if a servicing operation involves disconnecting a particular element that has an impact on one or more critical applications, that servicing may be scheduled accordingly, e.g., at night or a replacement element may be temporarily assigned to the affected critical applications. Uses for skeleton-based discovery include but are not limited to: 1) quick re-discovery based on the skeleton; and 2) application of policies at the skeleton level.

Quick Re-Discovery

Quick re-discovery based on the skeleton typically comprises re-use of information that was found during the initial discovery, such as but not limited to the applicative components involved and/or their versions and/or configuration files. Conventionally, a method scans upon occasion through all elements of, typically, less than all of the applications in a data center and determines what has changed. In each such scan, the method typically gathers all information from scratch, including but not limited to characterizations of the operating system, the processes running, and patches which may have been installed. As described herein, in contrast, the elements in an organization's data center are initially discovered and a “skeleton” is stored, e.g., in a database. The data center is then fairly frequently rediscovered (re-scanned), perhaps every few minutes, e.g., 10 minutes, or every few hours, e.g., 5 hours, taking into account the already generated skeleton. This is advantageous because it is safe to assume that in the next scan in, say, 10 minutes, if the structure previously included, say, WebSphere application servers running on top of Linux, then this will still be the case 8 minutes or 3 hours later. In contrast, one cannot assume that there will be only 3 instances of the above servers, due to frequent re-allocation of instances in the new dynamic cloud data center. Therefore it may be useful to frequently check if any instances were added or removed to/from a cluster or whether a certain virtual server moved to a different physical server.

Conventional scans of an entire data center are extremely time-consuming and are therefore performed infrequently (e.g., once a day). This is because an organization may have thousands or tens of thousands or even millions of elements. Of these, only some are deemed “important” because only elements in “important” applications are typically deemed important. Typically, between 10 and a few hundred applications are deemed important; hence, dozens or a few hundred of the elements are deemed important. Therefore, scanning only important applications may become a necessity in conventional set-ups, because this requires a few orders of magnitude and fewer resources than scanning everything. Consequently, less important applications are typically completely neglected.

In contrast, skeleton-based discovery as shown and described herein is suited for real time and dynamic environments in which, say, a load balancer that is responsible for load balancing between a first number, say three, applicative components such as application servers, suddenly finds itself load balancing between a second, larger number of such, say four, perhaps because a new application server was deployed in the organization and this load balancer was configured to use the new, fourth server as well. Conventional data center scans will only detect such a change the next time they do a whole infrastructure scan again, which can be very infrequent. Typically, such scans are so cumbersome that they are performed no more than once per day and sometimes even less frequently. In contrast, skeleton-based discovery involves a fast re-scan, which finds changes almost in real time and is fast enough to be performed as often as every few minutes, perhaps 15 minutes.

Application of Policies

A network system usually has policies such as limitations on number of elements/instances in a tier, various key performance indicators (KPIs), such as but not limited to central processing unit (CPU) utilization at the tier level and/or impact. Typically, such policy management refers to and is associated in computer memory, with logical elements (e.g., a “tier”) of each application rather than only to specific instances of such logical elements. The present disclosure allows the application of policies at the skeleton level.

One embodiment of a discovery method described herein includes creating an initial connection for an entry point according to the entry point type. Then, at least some of the following steps are reiterated until no unresolved connections exist.

A) If a hostname is defined in the entry point (as opposed to an IP address), then perform DNS lookup for the hostname

B) If the hostname is resolved to multiple IP addresses, then create a cluster object with the connection as its input, and outgoing connections per each resolved IP address with the same entry point values, except replacing the hostname with the relevant IP address.

C) Look up NAT and other network devices along the way to see if the provided entry point is affected by such a device (e.g., if the entry point is really a virtual address/port on a network device that is mapped to a different address/port). If yes, then a new connection needs to be created with the entry point information mapped after the network address translation.

D) Check if OS discovery for the target computer pointed to by the entry point has not been performed yet (i.e., the computer was never discovered); if so, then run OS discovery for this target host.

E) Identify the relevant process running on the host, e.g., by checking which process is listening on the port that defines the entry point. Get the attributes of the relevant process, such as but not limited to the directory it is running in and/or the command line attributes it was run with.

F) Identify all discovery patterns that match the connection's entry point type and fulfill the pre-requisite condition for these patterns (e.g., they match the operating system of the target host). Execute all of these discovery patterns, one after the other and stop as soon as one discovery pattern succeeds in discovering and creating a CI object.

G) For the newly created CI object, run all of its deterministic connection pattern sections, and for each discovered connection, create a connection object.

H) If possible, reconcile newly created objects with existing objects in the topology database.

One skeleton data apparatus including information needed for quicker later rediscovery of the business service described herein includes some or all of the following components.

A) NAT and other network devices along the path that affect the application flow and the address translation applicable to each of them

B) A template for the application topology including division into tiers and application flows between tiers. This application template may be deduced from the application topology discovered in the initial discovery with the at least two differences. The first is that discovered clusters of CIs may be replaced with a generic cluster placeholder to accommodate changes within a cluster without affecting the skeleton. The second is that host information for CIs may not be stored in the skeleton, i.e., only the applicative CIs may be stored. This allows applications to move between hosts without this being considered a skeleton change.

The application template can include: 1) for each tier and CI, the discovery pattern and the identification section inside it that were used to discover it (so they do not have to be determined again); 2) a re-discovery frequency per tier as one of high, medium, or low (the exact frequency in minutes per each category may be user defined in the administrative preferences); 3) credentials used per each identified CI (note that this may be the only skeleton component that is stored per identified CI and not per tier); and 4) impact rules describing how events should be propagated along the application structure (an example for such a rule: “If 30% of cluster members are down, mark the application as yellow. If 50% are down, mark it as red.”).

It is also possible to include, in the application template, manually defined discovery refinements out of the following types: manually added connections, manually added entry points to the application, and CI tiers and/or connections marked as application boundary and that should not be followed.

Another inventive aspect of the teachings herein is a method for skeleton-based re-discovery including some or all of the steps below.

A) Traverse the application skeleton that was previously generated.

B) For each skeleton connection, create a discovery task with information that was stored in the skeleton. The information typically includes at least some of: the pattern that needs to be executed, credentials that should be used, and the frequency with which this task needs to be performed.

C) Use each task performed (given its frequency) and the result to update the topology of the application in case changes are detected.

D) If failures are detected or new information is discovered that is inconsistent with that stored in the skeleton (e.g., a connection in the skeleton points to a WebSphere component, but it is no longer possible to discover a WebSphere component there), then mark the skeleton as invalid and re-initiate an initial discovery process (at least on this particular part of the application).

It is appreciated that there may be a separate independent computerized process that scans the network horizontally to identify NAT, firewall and load balancer devices and/or a user may provide a list of such devices to the system, e.g., as shown in FIG. 2, step 180, and as described below.

Also provided herein is a method for maintaining a population of applications, including performing at least one computerized operation on the population of applications. The method includes, in one example, creating an application skeleton, based on an application topology as discovered, and treating a group of CIs as one with regard to at least one computerized operation. The computerized operation may comprise at least one of the following: monitoring of applications; real-time discovery of applications; and performing impact analysis of applications.

“As one” in this context means that a single node in the graph representing an application represents a plurality of actual nodes (entities, represented in the full graph by a node). For example, if the user has an application that uses ten computers, and those ten computers are performing the exact same role, any one of them being interchangeable with the other of them, only one skeleton node may be placed in the graph that represents all ten. If it is discovered that a computer in this cluster of ten computers was added or removed, one skeleton node for all N nodes would still be maintained. Monitoring is an example of a task performed using skeleton nodes. If a monitoring task is configured on a skeleton node, the task is run on all actual nodes that the skeleton node represents.

There is thus provided, in accordance with at least one embodiment of the present teachings, a computerized method for determining a structure of at least one application in a computerized organization, the method comprising receiving at least one entry point including an identification of a virtual location on a computer network; for each entry point, receiving a determination of an individual applicative component that processes data arriving through that entry point; identifying at least some communicating entry points through which the first applicative component communicates with additional applicative components; for each of the at least some communicating entry points, using a processor for determining the applicative component that processes data arriving through that communicating entry point; and providing at least a portion of a structure including applicative components associated with the application and information with regard to which of the applicative component communicates with which.

In some embodiments, the computerized organization resides on an organizational computer network and wherein at least one entry point includes an identification of a virtual location on the organizational computer network.

Receiving a determination may comprise determining an individual applicative component that processes data arriving through that entry point.

In an additional refinement, the identifying can include identifying all communicating entry points through which the first applicative component communicates with additional applicative components.

The computerized method may also include repeating the identifying and the receiving of a determination, at least once, to identify further communicating entry points for applicative components determined thus far and to determine further applicative components that process data arriving through the further communicating entry points. The identifying and the receiving of a determination may be repeated until no further communicating entry points can be identified and no further applicative components can be identified.

According to certain embodiments herein, identification of applicative components that process data that ultimately arrived from an individual entry point is conducted depth-first. Alternatively, identification of applicative components that process data that ultimately arrived from an individual entry point is conducted breadth-first.

Further in accordance with at least one embodiment of the present invention, the method also comprises using the structure of the application(s) to perform at least one computerized organization maintenance operation on one or more applications. The computerized organization maintenance operation may be impact management.

The method may be implemented where the at least one application includes a plurality of applications. In at least some of these implementations, the method includes generating a knowledge base storing information regarding respective structures of the plurality of applications.

Still further in accordance with at least one embodiment of the present invention, the method also comprises using the structure of the application(s) to prioritize calls to a computerized organization maintenance facility including using the structure to identify applications whose components are down, establishing priorities between the applications and sequencing repair of components that are down, depending on the priorities.

The method may additionally or alternatively use the structure of the application(s) to schedule non-emergency maintenance including using the structure to identify maintenance-affected applications whose components are expected to be non-operational during the maintenance and scheduling the non-emergency maintenance at selected hours depending on the importance of the maintenance-affected applications. The structure can also be used to identify maintenance-affected applications whose components are expected to be non-operational during routine maintenance and compensating the maintenance-affected applications by temporarily replacing the components that are expected to be non-operational during routine maintenance.

The organization may include a multiplicity of applications. In this case, the method may use the structure to re-discover only a selected subset of applications that are of interest, from among the multiplicity of applications, rather than re-determining the structures of all of the multiplicity of applications of which many are not of interest.

When determining the at least one entry point, finding a unique characteristic of an applicative component can be used in some implementations. The unique characteristic may include a process name, a configuration file characteristic, or both.

The at least a portion of the structure of the application(s) resulting from the method may be stored in a computer storage device.

Another method described herein is a computerized re-discovery method for a computerized organization including a multiplicity of applications. The method includes using a processor for determining a structure of at least one application in the computerized organization, and for using the structure to re-discover only a selected subset of applications that are of interest from among the multiplicity of applications, rather than re-determining the structures of all of the multiplicity of applications of which many are not of interest.

A computerized re-discovery system for a computerized organization including a multiplicity of applications described herein includes an apparatus for determining a structure of at least one application in the computerized organization, and a re-discovery apparatus employing a processor for using the structure to re-discover only a selected subset of applications that are of interest, from among the multiplicity of applications, rather than re-determining the structures of all of the multiplicity of applications of which many are not of interest.

A computerized system for determining a structure of at least one application in a computerized organization is also described herein. The system includes a recursive entry point identifier operative, for each entry point from among at least one entry point including an identification of a virtual location on a computer network, for receiving a determination of an individual applicative component that processes data arriving through that entry point and for identifying at least some communicating entry points through which the first applicative component communicates with additional applicative components. The system also includes a structure generator operative, for each of the at least some communicating entry points, to use a processor for determining the applicative component that processes data arriving through that communicating entry point; and for providing at least a portion of a structure including applicative components associated with the application and information with regard to which of the applicative component communicates with which.

In this implementation, using the structure of the application(s) to re-discover does not necessarily start from a “root” entry point and instead starts from a location in the structure that is a starting point to a portion of the structure that it is desired to re-discover.

The teachings herein also include a computer program product, comprising a computer usable medium having a computer readable program code embodied therein. The computer readable program code is adapted to be executed to implement a computerized method for determining a structure of at least one application in a computerized organization, where the method may include receiving at least one entry point including an identification of a virtual location on a computer network; for each entry point, receiving a determination of an individual applicative component that processes data arriving through that entry point; identifying at least some communicating entry points through which the first applicative component communicates with additional applicative components; and, for each of the at least some communicating entry points, using a processor for determining the applicative component that processes data arriving through that communicating entry point; and providing at least a portion of a structure including: applicative components associated with the application and information with regard to which of the applicative component communicates with which.

Another computer program product can include computer readable program code embodied therein that is adapted to be executed to implement a computerized re-discovery method for a computerized organization including a multiplicity of applications. In this case, the method may include using a processor for determining a structure of at least one application in the computerized organization, and using the structure to re-discover only a selected subset of applications that are of interest, from among the multiplicity of applications, rather than re-determining the structures of all of the multiplicity of applications of which many are not of interest.

A computerized method for storing a representation of at least one application in a computerized organization is also described herein. The method includes determining a structure of at least one application in a computerized organization, and using a process for generating, and storing, a skeleton characterization of the structure of the application including storing information regarding at least one applicative component identified that is considered stable over time and not storing information regarding at least one applicative component identified that is considered unstable over time.

In general, the teachings herein also provide a computer program product, comprising a typically non-transitory computer usable medium or computer readable storage medium, typically tangible, having a computer readable program code embodied therein. The computer readable program code is adapted to be executed to implement any or all of the methods shown and described herein. It is appreciated that any or all of the computational steps shown and described herein may be computer-implemented. The operations in accordance with the teachings herein may be performed by a computer specially constructed for the desired purposes or by a general purpose computer specially configured for the desired purpose by a computer program stored in a typically non-transitory computer readable storage medium.

Any suitable processor, display and input means may be used to process, display, e.g., on a computer screen or other computer output device, store, and accept information such as information used by or generated by any of the methods and apparatus shown and described herein; the above processor, display and input means including computer programs, in accordance with some or all of the embodiments of the present disclosure. Any or all functionalities shown and described herein may be performed by a personal computer processor, workstation or other programmable device or computer or electronic computing device, either general-purpose or specifically constructed, used for processing; a computer display screen and/or printer and/or speaker for displaying; machine-readable memory such as optical disks, CDROMs, magnetic-optical discs or other discs; RAMs, ROMs, EPROMs, EEPROMs, magnetic or optical or other cards, for storing, and keyboard or mouse for accepting. The term “process” as used above is intended to include any type of computation or manipulation or transformation of data represented as physical, e.g., electronic, phenomena, which may occur or reside, e.g., within registers and/or memories of a computer. The term processor includes a single processing unit or a plurality of distributed or remote such units.

The above devices may communicate via any conventional wired or wireless digital communication means, e.g., via a wired or cellular telephone network or a computer network such as the Internet.

The apparatus of the present disclosure may include, according to certain embodiments, machine readable memory containing or otherwise storing a program of instructions, which, when executed by the machine, implements some or all of the apparatus, methods, features and functionalities shown and described herein. Alternatively or in addition, the apparatus of the present disclosure may include, according to certain embodiments, a program as above, which may be written in any conventional programming language, and optionally a machine for executing the program, such as but not limited to a general purpose computer, which may optionally be configured or activated in accordance with the teachings of the present disclosure. Any of the teachings incorporated herein may wherever suitable operate on signals representative of physical objects or substances.

The embodiments referred to above, and other embodiments, are described in detail in the next section.

Any trademark occurring in the text or drawings is the property of its owner and occurs herein merely to explain or illustrate one example of how the teachings may be implemented.

Unless specifically stated otherwise, as apparent from the following discussions, it is appreciated that throughout the specification discussions, utilizing terms such as “processing,” “computing,” “estimating,” “selecting,” “ranking,” “grading,” “calculating,” “determining,” “generating,” “reassessing,” “classifying,” “generating,” “producing,” “stereo-matching,” “registering,” “detecting,” “associating,” “superimposing,” “obtaining,” or the like, refers to the action and/or processes of a computer or computing system, or processor or similar electronic computing device, that manipulate and/or transform data represented as physical, such as electronic, quantities within the computing system's registers and/or memories, into other data similarly represented as physical quantities within the computing system's memories, registers or other such information storage, transmission or display devices. The term “computer” should be construed to cover any kind of electronic device with data processing capabilities, including, by way of non-limiting example, personal computers, servers, computing system, communication devices, processors (e.g., digital signal processor (DSP), microcontrollers, field programmable gate array (FPGA), application specific integrated circuit (ASIC), etc.), and other electronic computing devices.

The teachings herein may be described, merely for clarity, in terms of terminology specific to particular programming languages, operating systems, browsers, system versions, individual products, and the like. It will be appreciated that this terminology is intended to convey general principles of operation clearly and briefly, by way of example, and is not intended to limit the scope of the invention to any particular programming language, operating system, browser, system version, or individual product.

Elements separately listed herein need not be distinct components and alternatively may be the same structure. Any suitable input device, such as but not limited to a sensor, may be used to generate or otherwise provide information received by the apparatus and methods shown and described herein. Any suitable output device or display may be used to display or output information generated by the apparatus and methods shown and described herein. Any suitable processor may be employed to compute or generate information as described herein, e.g., by providing one or more modules in the processor to perform functionalities described herein. Any suitable computerized data storage, e.g., computer memory, may be used to store information received by or generated by the systems shown and described herein. Functionalities shown and described herein may be divided between a server computer and a plurality of client computers. These or any other computerized components shown and described herein may communicate between themselves via a suitable computer network.

BRIEF DESCRIPTION OF THE DRAWINGS

Certain embodiments of the present invention are illustrated in the following drawings.

FIG. 1 is a simplified top-level flowchart illustration of a computerized organization maintenance method constructed and operative in accordance with certain embodiments of the present disclosure.

FIGS. 2a-2c , taken together, form a simplified top-level flowchart illustration of a top-down initial discovery method constructed and operative in accordance with certain embodiments of the present disclosure.

FIG. 3 is a simplified top-level flowchart illustration of an example identity matching process constructed and operative in accordance with certain embodiments of the present disclosure, the process including checking at least one and typically a plurality of attributes of an element typically in some pre-defined order. For example, as shown, for identifying a host, the method may first look for a match of the serial number, then look for a match of the host name and then of the primary IP address.

FIG. 4 is a simplified top-level flowchart illustration of a method for deriving a skeleton of an application, the method being constructed and operative in accordance with certain embodiments of the present disclosure. The method is also useful for updating an existing skeleton after re-discovery such as if the skeleton is deemed “invalid” as a result of some discovered change in the topology of an application, e.g., after full re-discovery is done.

FIG. 5 is a simplified flowchart illustration of an example applicative cluster creation process useful, inter alia, in conjunction with the skeleton derivation method of FIG. 4.

FIG. 6a is a diagram of an example of a skeleton constructed and operative in accordance with certain embodiments of the present disclosure.

FIG. 6b is a diagram of an example of an application topology constructed and operative in accordance with certain embodiments of the present disclosure.

FIG. 7 is a simplified top-level flowchart illustration of a skeleton-based discovery method constructed and operative in accordance with certain embodiments of the present disclosure.

FIG. 8 is a simplified top-level flowchart illustration of a method for skeleton-based re-discovery executed for an entire application, the method being constructed and operative in accordance with certain embodiments of the present disclosure.

FIG. 9 is a simplified top-level flowchart illustration of a method for generation of impact tree from an application skeleton, including, typically, computation of an impact tree each time there is a change, the method being constructed and operative in accordance with certain embodiments of the present disclosure.

FIG. 10 is a simplified flowchart illustration of an impact management method constructed and operative in accordance with certain embodiments of the present disclosure, the method including generating an output, e.g., display, which shows the impact of events and changes applied to applicative components, network elements, servers, or other entities, on applications that use them. The method of FIG. 10 is useful, e.g., in conjunction with the top-down discovery method of FIGS. 2a-2c . The method of FIG. 10 may be applied to an impact tree computed based on a skeleton whose generation is as shown and described herein.

FIG. 11 is a simplified functional block diagram illustration of a system architecture constructed and operative in accordance with certain embodiments of the present disclosure, which is useful for performing methods shown and described herein.

DETAILED DESCRIPTION

Computational components described and illustrated herein can be implemented in various forms, for example, as hardware circuits such as but not limited to custom VLSI circuits or gate arrays or programmable hardware devices such as but not limited to FPGAs, or as software program code stored on at least one intangible computer readable medium and executable by at least one processor, or any suitable combination thereof. A specific functional component may be formed by one particular sequence of software code, or by a plurality of such, which collectively act or behave or act as described herein with reference to the functional component in question. For example, the component may be distributed over several code sequences such as but not limited to objects, procedures, functions, routines and programs and may originate from several computer files which typically operate synergistically.

Data can be stored on one or more intangible computer readable media stored at one or more different locations, different network nodes or different storage devices at a single node or location.

It is appreciated that any computer data storage technology, including any type of storage or memory and any type of computer components and recording media that retain digital data used for computing for an interval of time, and any time of information retention technology, may be used to store the various data provided and employed herein. Suitable computer data storage or information retention apparatus may include apparatus that is primary, secondary, tertiary or off-line; that is of any type or level or amount or category of volatility, differentiation, mutability, accessibility, addressability, capacity, performance and energy use; and that is based on any suitable technologies such as semiconductor, magnetic, optical, paper and others.

The following terms may be construed either in accordance with any definition thereof appearing in the prior art literature or in accordance with the specification, or as follows.

Application: A software application including multiple applicative components overall providing a certain service to the organization.

Applicative component (of a software application): A software module, which includes a meaningful subset of the lines of code forming the software application or includes lines of code that are called by the software application so as to provide that application with some service. Typically, the module includes one or more executable processes, along with a configuration file defining the configuration of the software module and, optionally, other supporting files such as but not limited to a database, temporary files, or default values. Typical applicative components include but are not limited to databases (such as but not limited to Oracle, Sybase, DB2), application servers (such as but not limited to WebSphere Application Server, WebLogic), Web servers (such as but not limited to Apache, IIS), Directory servers, message buses, and load balancers. A single applicative component may serve multiple applications. It is appreciated that more than one applicative component, perhaps even serving more than one respective application, may reside on the same physical server or even virtual server. The term “applicative” pertains to software; applicative CIs may be hosted on other elements such as servers. An applicative entity comprises a piece of software that runs on one or more servers, either virtual or physical.

Business Service or Service: see Application.

Business service modeling: see Discovery.

Collector: A logical entity used to communicate with target hosts using various management protocols such as but not limited to WMI, SSH, and SNMP. There could be multiple collectors in a single system. Collectors can reside on a separate host or may be co-located with one another and/or with the main system server. Different collectors can be responsible for different target hosts, respectively, or there could be overlap such that more than one collector is responsible for at least one of the target hosts.

Cluster, cluster object: Computer cluster (not “data cluster”). Wikipedia describes that “A computer cluster is a group of linked computers, working together closely thus in many respects forming a single computer. The components of a cluster are commonly, but not always, connected to each other through fast local area networks. Clusters are usually deployed to improve performance and availability over that of a single computer, while typically being much more cost-effective than single computers of comparable speed or availability. Clusters may include High-availability (HA) clusters, Load-balanced clusters and Compute clusters.”

Collector: Distributed logical entity used to communicate with target hosts. The collector may perform OS discovery on given hosts and may use standard protocols such as but not limited to WMI, SNMP and SSH to collect suitable information, e.g., as described herein, from target hosts. The collector is typically operative to communicate with a group of target hosts and to perform tasks handed to it by a centralized server.

Component: See Element.

Configuration Item (CI): A CI according to one embodiment is synonymous with “element” as described herein. A CI according to another embodiment is an entity describing a component, e.g., physical server, load balancer, applicative component, which is part of an application. There are physical CIs (network devices, hosts, and other hardware components supporting an application) and applicative CIs (application servers, databases, and other software components of an application).

Connections: see Dependencies, Credentials or Discovery.

Credentials: Credentials used during a discovery process to access a target server/element. In most cases credentials include a user name and password used to access the target server/element. Sometimes a certificate (such as defined by standard X.51 1) is used to grant access to a certain resource (e.g., using the SSH protocol).

Data center: Location at which many or most of an enterprise's servers and applications are installed and maintained. An enterprise may use multiple data centers for redundancy or geographic proximity. Data centers may contain from many dozens to hundreds of thousands, or more, of physical servers.

Dependencies: An enterprise's software applications often each include a multiplicity of applicative components. An individual applicative component may communicate with multiple other applicative components, in which case the individual applicative component is deemed to have “dependencies” to all of the multiple other applicative components. An example of dependencies can be found by reference to the front end Web server of an application, which usually communicates with one or more application servers. Some or all of the application servers may communicate with a database (to store and retrieve data), with a directory server (e.g., to authenticate a user) and/or with other servers. A database can feed a reporting component. In this example, there are dependencies: (a) between the front end Web server and each of the one or more application servers; (b) between each application server and the database and/or directory server and/or other server/s with which that application server communicates; and (c) between databases and reporting components fed thereby.

Discovery or Application discovery: The process of identifying a structure, also termed herein “topology,” of an application including the applicative components it is composed of and the dependencies between them. “Discovering entities” refers to using a knowledge base of patterns to identify applicative entities comprising the application and connections therebetween.

Discovery task: A set of instructions handed to a collector asking it to discover certain information about a target host. The collector typically performs the discovery task and then returns the discovery results to a main server for consolidation and further processing.

DNS (domain name system) server: A server that facilitates translation of host names to IP addresses, e.g., using conventional domain name system schemes.

Element: A single entity in the application topology. This may for example comprise an applicative component such as a database or load balancer or application server, a server (virtual or physical) or a network device. An organization may have thousands or tens of thousands or even millions of elements. Each application in the organization is typically served by between a few to many dozens of elements. One example of an element is a configuration item as defined herein.

Enterprise: Computerized organization employing many applications, each of which utilizes many computerized entities.

Entity: See Element.

Entry Point: A set of parameters such as but not limited to host, protocol, port, URL, etc., that indicates a location of an application on an organization's computer network and, optionally, its unique usage by a particular application. This location is also where to start discovering the application from, according to certain embodiments. The entry point may for example include a name or IP address of a host, and a port number identifying one of the host's ports. In a Web application the entry point typically comprises a URL or more generally a unique address of a resource, which is accessible through a computer network such as the Internet. In an application that is not a Web application, the entry point may, for example, be identified by the IP address and the port number on which the application is accessed. If a Web application actually serves multiple distinct applications (e.g., both an “order entry” application and an “account receivables” application), additional parameters can be provided as part of the entry point; e.g., in the Web application case, the complete URL can serve to determine a particular “WAR file” used within the application server; a web application archive (WAR) file is typically used to package the logic of a specific application and may have its own configuration files and parameters.

Graph: A topological representation of known elements in an application, including nodes and edges, each node representing an element discovered in the application, each edge representing a connection or dependency between discovered nodes/elements.

Identification Logic: A section within a pattern that, when executed, identifies which specific applicative component is used. The “logic” can use the process name or various other parameters to check whether the process can be identified. For example, the logic can access the process listening on the TCP port number provided as part of the entry point, check its name and command line parameters, and perform other suitable local commands to determine which applicative component it is. For example, many applications provide command line tools that may be used to extract various configuration parameters such as but not limited to application version, and installation options.

Identity matching: Checking, e.g., using comparisons, whether or not a current entity, e.g., a server, may have already been discovered previously and may already be in the topology database or skeleton of an application, in which case the existing entity in the topology may be used to represent the entity rather than creating a duplicate node in the database.

Impact: each element in the topology of an application may have a severity status indicator of its current health, such as one of “Healthy,” “Warning,” “Major,” and “Error,” which typically corresponds, respectively, to good functioning, slightly impaired functioning, seriously impaired functioning, and non-functioning. By default the status may be healthy but this typically changes, e.g., when an event is received (e.g., from some external monitoring system) indicating a different status. In addition, an element in the application topology can have an impact on elements depending on or connected to that element; e.g., in the case of a Web application, if the database element is not functioning (e.g., “Error” state), then the application server might not function either (“Error”). If one of the application servers in a cluster is not functioning (“Error”), then the entire application might suffer from performance issues (“Major” or “Warning” depending on how many other functioning servers remain in the cluster). “Impact” describes the effect of one element on the elements connected to it and can propagate, typically via impact rules, from one element to elements connected to that element and so on, from element to element. Impact rules define how an individual element's status transitions depending on the status of other elements that this individual element depends on. The final status of an element may be the more severe state from among: (a) its own state and (b) the state computed from some or all of its descendants, e.g., its children only, using the impact rules.

Impact tree: Set of rules defining how impact status propagates from one entity in an application topology to elements depending on that entity, and so on, eventually reaching the root of the tree, which typically comprises the entry point to the application. The final outcome of the impact tree typically comprises a status for each individual element in the relevant application topology, which status is computed based on the status of all “child” elements on which the individual element depends, and its own state, e.g., as received through incoming alerts. The root of the tree, i.e., the entry point, computes the status of the application itself.

Instances within tier: Element/entity/component currently residing within or belonging to a tier.

Knowledge base: A collection of Patterns, one per known applicative component type. May be used to identify the various components of an application and the relations between them.

Model: Topology of an application. For example, a simple Web application may include a load balancer, then multiple web servers (e.g., Apache) then a cluster of application servers (e.g., WebSphere), then some database (say Oracle). The topology is generally represented as a graph in which the elements are nodes in the graph, and dependencies there between are directional edges in the graph.

Modelling or model discovery: See Discovery.

NAT: Modification of IP address information in IP packet headers while in transit across a network traffic routing device. The function is typically carried by suitable network devices such as firewalls or router. In a simple form of NAT, one IP address is simply replaced by another. Some NAT methods also modify the port number field in IP packets, typically in order to hide an entire IP address space, usually consisting of private IP addresses, behind a single IP address (or in some cases a small group of IP addresses) in another (usually globally routable) address space.

Orchestrator: a main server in the system, used to orchestrate the application discovery process including some or all of: distributing discovery tasks to multiple collectors, collecting back discovery results from the collectors, consolidating the results and storing them in the database, employing suitable business logic if and as appropriate depending on the application, computation of impact trees and providing data to be used for the UI (user interface) and/or presentation layer.

OS Discovery: The process of identifying the type of a certain element (e.g., server running Windows vs. server running Linux vs. network device running some other OS) and fetching basic attributes of that element such as but not limited to one or more of OS version, network interfaces cards (NICs), and IP addresses thereof.

Pattern: A piece of logic that typically stipulates how to identify a certain type of entity. Such logic typically comprises a set of computer-executable rules stipulating that under certain conditions, the entity is of such and such a type. The logic of each pattern may be written in any suitable existing or special-purpose computer language. Typically, each pattern includes an application-specific set of rules for identifying a particular application and the connections from that application to other applications.

Pattern Connection Section: A portion of a pattern that describes how to locate connections from the pattern's entity to other entities, e.g., by extracting relevant information, including dependent entities and entry points thereof, from at least the configuration files and/or the registry.

Pattern Identification Section: A portion of a pattern, typically including a set of rules and conditions, which is operative to identify an entity. This would typically take into account at least the process name and methods (either or both) to extract the version information.

Physical: Pertaining to hardware including but not limited to hosts and network devices.

Process: An applicative component executable running on the target host.

Relations or Relationships: See Dependencies.

Scanning: Checking which protocols are supported on a host, e.g., some or all of: does the host reply to SNMP requests, does it reply to WMI requests, and/or does it accept SSH sessions? Scanning can use any conventional scanning methodology such as conventional (network mapper) Nmap technology.

Server: Unless otherwise indicated, this term is used herein to denote either a physical server or a virtual server.

Connection category and type: Connections in the application structure can be of multiple categories such as but not limited to some or all of the following. The “Application Flow” category may be used to connect from one applicative component to another component that it communicates with, e.g., using a suitable network protocol such as but not limited to HTTP or SQL. In this case the connection type may indicate the protocol used, and additional parameters may be provided accordingly. For example, in the case of HTTP the connection may also indicate the URL by which the first component communicates with the second one. The “Cluster” category may be used to designate a connection from a component to a cluster element. The cluster element would then be connected, e.g., using an “Application Flow” connection as described herein, with the individual members of the cluster. Another possible connection category is “Inclusion.” which may be used internally by the system to indicate a connection from an applicative component to some internal components of the applicative component. For example, a WebSphere application server may contain multiple sub-applications, each packaged as a WAR file. Each of these sub-applications may be identified as separate applicative components and in a certain application that uses the WebSphere component, it may be desired to connect the WebSphere to its relevant sub-application (WAR file) used by the application. This may be done using an Inclusion connection.

Skeleton or “application skeleton”: A representation of the structure of an application including only a portion of the full information regarding application structure, which is stored, e.g., as a cache, to enable frequent, fast and efficient re-discovery by avoiding the need to re-discover attributes that are less likely to change hence deemed stable (e.g., tiers and relationships there between, version of an applicative component) while scanning more frequently changing items (e.g., the elements in a cluster, instances of applicative components within tiers). For example, an application may include a number of tiers or layers. In each tier there may be more than one “instance” of applicative components (in a certain application, an “application server” tier may include five WebSphere-type application servers and a “database tier” may include a cluster of three database servers). The skeleton may then include an indication of the tier of application servers, type=WAS (IBM term for WebSphere application servers) because this is expected to be stable over a period of days, weeks, months or years. The skeleton may not include other information present within the discovered structure, such as the IP addresses and other particulars of the instances of the above tier, because one cannot assume that the number of instances of the above, say, servers, will remain constant even after a few minutes or hours, due to frequent re-allocation of instances in new dynamic cloud data centers.

According to certain embodiments, a skeleton may include:

a. A template for the application topology including division into tiers and application flows between tiers; and/or

b. NAT and/or other network devices along the path that affect the application flow and the address translation applicable to each of them.

An example of a skeleton generating process may deem as stable, hence include in the skeleton, a cluster of entities and may deem as unstable, hence not include in the skeleton, some or all members of the cluster which are expected to change once or several or many times during the lifetime of the cluster. This is advantageous because typically, rediscovery only needs to find the current cluster members and does not have to re-verify that the cluster is indeed a cluster, nor does the rediscovery need to re-perform other discovery tasks such as determining the type and/or version of each cluster member.

Stable: An applicative component is considered stable over time, inter alia, if it is likely to remain part of the application at its present location in the application topology over a long period of time such as weeks, months or years, whereas an applicative component is considered unstable over time if it is likely to remain part of the application at its present location in the application topology for a period of time that is significantly, say, at least an order of magnitude, shorter than the above long period of time, e.g., at most a few minutes or hours or days. For example, a tier may be stable over time whereas individual instances within the tier may be unstable over time.

Structure of an application: See Model.

Tier: Located within a multi-tier architecture. Typically, although not necessarily, a tier is a collection of CI's of the same type, which are either clustered together or are accessible through a common element such a load balancer. An example of a tier is a plurality of hosts used as a single host, e.g., such that multiple instances of a database may be run on separate hosts clustered together as a single tier.

Top-down discovery: Discovery of an application starting from an entry point into the application, which identifies how an application is consumed, and advancing from the entry point, element by element (also termed herein “hop by hop”), thereby to identify all applicative components composing the application. Typically, in each element, at least one dependent applicative component, if such exists, is identified and the entry point into that applicative component is found. Then, in subsequent respective elements, each such applicative component is respectively used to recursively find additional applicative components dependent on each such applicative component.

Reference is now made to FIG. 1, which is a simplified top-level flowchart illustration of a computerized organization maintenance method constructed and operative in accordance with certain embodiments of the present disclosure. The method of FIG. 1 typically comprises some or all of the following steps, suitably ordered, e.g., as shown

Step 10 includes initial discovery (skeleton-based and/or top-down), e.g., as per FIGS. 2a -2 c.

Step 20 includes storing the structure as discovered.

Step 30 uses the structure, for example to prioritize calls to an IT department or to compensate “stricken” applications by identifying and replacing elements causing the call. The structure may additionally or alternatively be used to schedule non-emergency maintenance or to identify and “compensate” maintenance-affected applications by temporarily substituting maintenance-disabled elements used by these applications

Step 40 is an optional step that derives the skeleton from the structure stored in at step 20, e.g., as per FIG. 4.

Step 50 involves periodically re-discovering the structure including storing updated structure accordingly. Optionally, the skeleton is used, e.g., as per FIG. 8, in which case re-discovery includes updating the skeleton of step 40, storing the updated structure if the skeleton is found to be unchanged. Otherwise, the skeleton can be used to identify the portion of application for which initial discovery is to be repeated, the initial discovery is repeated (e.g., using FIGS. 2a-2c ) for that portion only, the structure of other portions is combined with the new structure of portion for which initial discovery was repeated, and a new skeleton is derived from combined structure (e.g., using FIG. 4).

Step 60 includes accepting events/alerts (e.g. directly from elements, or from external monitoring systems), associating the events/alerts with appropriate elements and computing impact on applications those elements belong to using an impact tree that is part of the skeleton.

Regarding FIG. 1, re-discovery of only a portion of an application at step 50 typically occurs as a result of different discovery frequencies or schedules for different parts of the application. In such a case, re-discovery is applied only to the relevant elements rather than to an entire application. Typically, when only a portion is rediscovered, the only change relative to whole-application discovery is that the entry point to the process is not the “root” entry point of the application as a whole, but rather one of the connections from which it is desired to perform the discovery or re-discovery.

FIGS. 2a-2c , taken together, form a simplified top-level flowchart illustration of a top-down initial discovery method constructed and operative in accordance with certain embodiments of the present disclosure. The method of FIGS. 2a-2c typically comprises some or all of the following steps, suitably ordered, e.g., as shown.

At step 120, an application entry point is provided. Generally, this can involve prompting a user to manually provide or involved automatically deriving, e.g., by querying another system (e.g., a user transaction monitoring system such as HP BAC or Aternity) that holds the entry points.

Step 125 is a decision point. If an application corresponding to the entry point provided in step 120 has never been discovered, or the system has decided (e.g., because re-discovery based on the skeleton detected some change in the application structure) that the application topology stored in the application's skeleton is no longer up-to-date the method proceeds. Otherwise, the method terminates.

Step 130 prompts a user to provide inputs A and/or B. Input A is a knowledge base of patterns describing how to identify each component and connections from component identified to subsequent components. The knowledge base may be constructed in set-up stage in which each and every type of application supported is analyzed so as to determine some or all of: how to identify it (e.g., what is the process name and how to extract its version), how the application is installed, how the application is configured, where the application's configuration parameters reside, how to determine the configurations of the application's connections to other components, etc. A pattern is then generated accordingly, which is operative to identify an individual application component and connections emanating from it. Input B are credentials to enable sufficient access level to each component (e.g., host) to retrieve all information employed by the knowledge base

At step 135, an identity matching process (e.g., as per FIG. 3) is used that checks whether a discovered object, e.g., CI, was already discovered earlier, e.g., by using suitable attributes of each CI to uniquely identify it. Attributes of the CI are typically compared in a certain order, e.g., as described herein with reference to FIG. 3.

Step 140, for the entry point provided, creates an initial connection according to the entry point type. It is appreciated that an entry point can have various attributes, also termed herein “parameters.” In the case of a URL, for example, the entry point's attributes might include a port number and the URL The type of entry point typically indicates which parameters or attributes are appropriate. For example, the parameters may be host, port, URL, or any combination thereof for an entry point type HTTP, the parameters may be host, port, queue name, or any combination thereof for an entry point type MQ, and the parameters may be host, port, or both, for an entry point type generic TCP.

At step 150, additional steps are performed if a hostname (as opposed to an IP address) is defined in the entry point. Namely, at step 160, a DNS lookup for the hostname is performed. Then, if the hostname is resolved to multiple IP (Internet Protocol) addresses, a cluster object is generated at step 170 that has the current connection as its input, and has outgoing connections per each resolved IP address with the same entry point values except replacing the hostname with the relevant IP address. This cluster object may be generated by creating an element of type DNS cluster and connecting that DNS cluster element to a list of hosts obtained from the DNS server.

At step 180, the current connection defines first and second connected applicative CIs. Step 180 also includes looking up, e.g., in a stored result of a previous network device discovery process, all NAT and other network devices en route between the first CI, and a second CI that has a dependency either from the first CI or from one or more intermediate CIs that have dependencies, ultimately, from the first CI. The route interconnecting the first and second CIs, which may run through many intermediate CIs, may run through multiple network devices.

According to one embodiment, there is a set-up process in which a separate discovery process for discovering network devices, including those that perform NAT, is performed. Alternatively or in addition, information identifying NAT and other network devices' locations vis-à-vis configuration items is pre-configured into the system.

At step 185, NAT and other network devices found en route are analyzed to see if the provided entry point is “affected,” i.e., if the provided entry point points to an address that is being translated by an en route NAT device/network device. Generally, if the entry point is a virtual address/port on a network device that is mapped to a different address/port, the entry point is “affected.” If the provided entry point is affected, the entry point information mapped in step 180 is used after the network address translation to create a new connection.

Step 190 checks if the operating system (OS) discovery for the host (also termed herein the “target computer”) pointed to by the entry point has not been performed yet. This would indicate that the target computer was never discovered, so OS discovery is run for this host.

Step 200 includes identifying the relevant process running on the host, e.g., by identifying the unique process that is (a) running on the target host identified by the entry point's host name/IP address and (b) serving (listening to) the port whose number is designated at the entry point. Step 200 also includes getting at least one attribute of that process, such as the process's name or other identifier, and the process's location, e.g., the directory where it is installed and/or the command line attributes with which the process was run.

At step 210, the discovery patterns that are applicable to the given entry point type and to the OS running on the target host are found in the knowledge base.

Step 215 executes all discovery patterns identified in step 210, one after the other, and stops as soon as one discovery pattern succeeds in discovering and creating a CI object.

Step 220 includes, for the newly created CI object, running all of its deterministic connection pattern sections. For each discovered connection, a connection object is created.

At step 230, newly created objects are reconciled, if possible, with existing objects in the topology database (using suitable identity matching logic, e.g., as per FIG. 3).

Step 240 includes a query as to whether unresolved connections exist (connections on which steps 150-230 have yet to be run). If so, each such connection is defined as an entry point and the method returns to step 150 so as to recursively identify further elements dependent on that entry point. If no unresolved connections exist, the method ends.

Patterns, e.g., as executed in FIG. 2, step 215, are now described in accordance with certain embodiments of the present disclosure. Typically, a pattern comprises a piece of logic that stipulates how to identify a certain type of entity. Such logic typically comprises a set of computer-executable rules stipulating that under certain conditions, the entity is of such and such a type. The logic of each pattern may be written in any suitable existing or special-purpose computer language.

A pattern typically includes a set of rules and tests that identify which particular applicative component, such as, say, an Apache Web server, is used by a particular application. Rules may be used to extract suitable parameters and values, and to check various conditions on them. Some examples of possible rules include the following:

1) Compare the process's executable name (or a prefix of it) to a suitable string; e.g., check if the name contains the string “httpd” as a prefix.

2) Run a local command line to get further information from the running process, such as its version, and check if the further information, e.g., version, matches a value. This can be used, e.g., to write different patterns for WebSphere version 5.3 vs. WebSphere version 6.1.

3) Look for a particular template in some configuration file, extract parameters from the configuration file according to that template, and check some condition on them (e.g., is the file in xml format, and does it contain some predefined value).

4) Look for the existence of a file of particular name to, e.g., determine if a certain component is installed on that target host.

5) Extract suitable configuration parameters, such as but not limited to IP addresses and/or version information) from the registry (typically on Windows servers only) and check some condition on these, e.g., by checking the version number to match some value and then deducing the version of the installed component.

The pattern often includes an identification section and one or more connection sections as described below. Typically, rules and tests are part of all sections and are performed by the discovery process, e.g., as shown and described herein. The method performs the identification section. According to one implementation, only when and if performing the identification section is successful in finding a match, e.g., in identifying the applicative element, the method performs the respective connection sections of the pattern in order to find all connections from this applicative element to other elements. For example, for an Apache pattern, the method may create an Apache element or CI and then try to find the connections from the Apache CI to other elements.

It is possible to require that each pattern be responsible for discovering and generating a CI of only a certain type.

Each pattern connection section typically includes a portion of a pattern that describes how to locate connections from the pattern's entity to other entities, e.g., by extracting relevant information, including dependent entities and entry points thereof, from at least the configuration files and/or the registry.

Typically, rules in the connection section mandate searching for particular configuration files, e.g., in the directory where the executable process is installed, trying to parse these files in a specific given format, suitably extracting parameters from the files, and as a result identifying the entry points to elements with which the current entity is communicating. As an example, an application server usually has a configuration file that stores a definition of which database the application server is using and how to connect to it. When a connection section fails, e.g., because the configuration file was not found, or because it could not be parsed according to the template mandated by the connection section, the corresponding connection may not be created. A result of performing a pattern connection section is typically a list of new connections, each connection associated with an entry point. The new entry point would typically include a host or IP address for the dependent element, a port number and a URL and/or other applicative parameters.

As described above, each pattern identification section typically includes a portion of a pattern, including a set of rules and conditions, which is operative to identify an entity. This will usually take into account at least the process name and methods (either or both) to extract the version information. The identification section may include instructions on how to extract various parameters or values, and conditions on such values and parameters.

For example, in pattern identification, the process executable name can be extracted and compared via string operations to a predetermined string. Alternatively or in addition, entity identification may include searching for particular files installed on the host, checking information in the registry, and parsing certain files. When the pattern identification section is successful, a CI object is generated and stored in a database. “Success” typically refers to a state in which all rules/tests that were to be performed were completed and the logical condition in each rule was met. For example, if the condition checks if the process name contains some value, then indeed that value was contained in the process name. If the condition checks if a file of a particular name existed, then it indeed was found to exist.

A suitable identity matching process, e.g., for use in FIG. 2c , step 230 and/or as input for the method of FIG. 8, as described in step 410, is now described with reference to the example process of FIG. 3.

The identity matching process strives to ensure each CI is kept only once without duplicates, e.g., by identifying and eliminating duplicates, rather than entering them into a topology database.

Typically, the identity matching process checks whether a discovered object, e.g., element, was already discovered in the context of any discovery that was done earlier and that was used to fill the topology database with CIs and connections. It is possible for a single CI to be discovered by multiple sources (e.g., integration into other suitable management systems such as but not limited Vmware vCenter or EMC management suite, querying hosts and other devices using various protocols like WMI, SSH and SNMP, or listening to network traffic). Also, these different sources may provide different data. Therefore, each time a CI is identified, its properties may be compared to existing CIs, e.g., as described herein with reference to FIG. 3, to eliminate duplicates in the topology database. Reconciliation may be achieved by defining, for each property, a trusted source of information from among the multiple sources of information that may be available.

FIG. 4 is an example method for creating an application skeleton, based on an application topology as discovered. The topology is typically represented as a graph, with each node representing an element and dependencies between elements being represented as arcs or edges.

According to certain embodiments, the skeleton generation process may be characterized in that if there are multiple nodes that are of the same “instance,” the skeleton includes only one node that stands for all of the multiple nodes. The phrase of “the same instance” means nodes that are all of the same application type and all have the same incoming and outgoing connections. In this arrangement, the one included node is one of the multiple nodes.

The method may pick a random node and assume that all other nodes are the same, as long as they have the same connections (in and out). For example, referring to the topology shown in FIG. 6b , when traversing the “Apache Tomcat” nodes shown, a skeleton node may be created for the first Tomcat node encountered in the application topology, and when the other two “Tomcat” nodes are traversed, these are also deemed to correspond to the same skeleton node since they are also “Tomcat” nodes, and, as shown, they have the same connections as the first tomcat node.

According to certain embodiments, a skeleton is created using a suitable applicative cluster creation process, which groups similar nodes in the graph. Nodes are “similar” if they have the same incoming connections, e.g., in terms of entry point type, the same CI type and the same outgoing connection, again in terms of entry point type. A suitable applicative cluster creation process is now described.

Applicative clusters are aggregations/consolidations of same-type CIs at the same tier of an application (e.g., a cluster of web servers, a cluster of workers' workstations, etc.). Their computation may be based on the connection a pattern would create.

Typically, patterns in the knowledge base include sets of rules that are performed to determine/discover CIs and their connections to other CIs. The pattern can determine that the CI is connected to a cluster of CIs rather than to one specific CI. For example, a load balancer may be discovered that is connected to a cluster of Apache servers. In this case the connection created would be to a cluster. The discovery process would then continue to discover each of the elements of the cluster. The skeleton itself typically includes an indication of the cluster of Apache servers but does not include information about the individual servers in the cluster.

If a given pattern creates a cluster connection, e.g., as described above, then all the elements discovered as a result of the discovered cluster connections may be marked as belonging to the same applicative cluster. For clusters with more than one tier, the next tiers may be included in the applicative cluster recursively until one of the following is met: 1) all connections are merged to a single CI, e.g., as shown in the skeleton of FIG. 6a ; or 2) more cluster connections indicating a new cluster has been encountered, e.g., as shown in the skeleton of FIG. 6b . When either of these conditions occurs, the computation of the cluster is complete.

In FIGS. 6a and 6b , bold lines indicate cluster relationships, dashed lines indicate inclusions, and solid non-bold lines indicate application flow.

A simplified flowchart illustration of an example applicative cluster creation process is shown in FIG. 5.

Nodes can be interconnected by more than one category, each category including more than one type of connection. Each type of connection includes different parameters required to define that connection. Connection categories may include one or more an application flow category, a cluster connection category, and an inclusion connection category.

The application flow category includes connections between two applicative elements; e.g., Tomcat talking to a database. The connection type in this case may be the protocol (e.g. http, sql).

The cluster connection category includes connections from one element to a cluster (also termed herein “applicative cluster” or farm of other elements).

The inclusion connection category may be used internally for elements containing other elements; e.g., some application servers can contain multiple WARs, in which case an inclusion connection of type WAR may be created to each of them.

As mentioned, each pattern may generates a CI of a particular type, wherein the pattern determines the type; e.g., if a pattern is used to discover Tomcat, then the pattern generates a CI of type Tomcat. The number of patterns can change over time and the users can add their own patterns; therefore, the totality of defined CI types may change over time and may be stored, e.g., in the knowledge base of the patterns.

In some implementations, each connection is deduced by a specific pattern, and, once deduced, the “type” of the connection is attached to that connection, e.g., in the stored graph representation of the relevant application.

The method of FIG. 5 is useful, inter alia, for deriving a skeleton from a structure generated by the method of FIGS. 2a-2c , wherein the skeleton includes information useful for quick subsequent re-discovery of the application. The query “Is Cluster?” in FIG. 5 determines whether or not an individual node is a member of a cluster. Any suitable heuristics may be employed to make this determination. For example, it may be assumed that if one node in tier X is (say) an Apache, then all other nodes in the same tier are also Apaches, and/or it may be assumed that if an Apache node has CI types Y and Z below, so do all other Apache nodes have CI types Y and Z connected to it.

Referring back to FIG. 4, the method therein comprises some or all of the following steps, suitably ordered, e.g., as shown.

At step 300, the structure generated by initial discovery and stored in step 20 of FIG. 1 is provided. Then, at step 310, the application topology discovered in the initial discovery of step 10 as stored in step 20 is used to generate a template for the application topology including division into tiers and application flows between tiers.

Step 320 involves gathering, from actual discovered topology, NAT and other network devices along the path that affect the application flow and the address translation applicable to each of them. This is added to the initial skeleton (i.e., the template) generated in step 310.

At step 330, the template is modified by replacing discovered clusters of CIs with a generic cluster placeholder to accommodate changes within a cluster without affecting the skeleton.

At step 340, the template is modified by deleting host information for CIs so these are not stored in the skeleton, i.e., so that only the applicative CIs are stored. This allows applications to move between hosts without this motion being considered a skeleton change.

At step 350, for each tier and CI, the discovery pattern and the identification section inside the pattern that was used to discover each are added to the template.

At step 360, the template is modified by adding a defined re-discovery frequency per tier. In one implementation, the frequency may be defined, per tier, as one of the categories high, medium or low where the exact frequency in minutes per category are user defined in administrative preferences.

Credentials used per each identified CI are added to the template at step 370. In this embodiment, these credentials are the only skeleton component that is stored per identified CI and not per tier.

Impact rules describing how events should be propagated along the application structure are added to the template at step 380. For example, one impact rule may require an application be marked yellow if 30% of cluster members are down, while another requires an application be marked red if 50% of cluster members are down.

At step 390, manually defined discovery refinements are added to the template. The types of refinements that may be added include, but are not limited to, manually added connections, manually added entry points to the application, and CI tiers and/or connections marked as an application boundary not to be followed.

FIG. 7 is a simplified top-level flowchart illustration of a skeleton-based discovery method constructed and operative in accordance with certain embodiments of the present disclosure. The method of FIG. 7 comprises some or all of the following steps, suitably ordered, e.g., as shown.

Step 610 includes obtaining the current application structure, e.g., using top-down discovery). Then, at step 620, the structure as discovered is stored.

At step 630, a skeleton is derived from the structure stored at step 620.

At step 640, the structure is re-discovered using the skeleton information derived at step 630. Step 640 can be performed periodically.

Finally, and less frequently than in step 640, full discovery can be run at step 650 to find any changes in the skeleton itself. If any changes are found, the method returns to step 630. Full discovery at step 650 can also be performed periodically.

FIG. 8 illustrates a method for skeleton-based re-discovery, which may be executed for an entire application. It is appreciated that a skeleton typically includes attributes that are less likely to change but occasionally these attributes do change. Typically, once in a while, say once a day, a complete re-discovery is effected, and any changes that would make an existing skeleton invalid are incorporated into a new skeleton based on the complete re-discovery. Typically, if no skeleton exists, e.g., if previous discovery was top-down but not skeleton-based, re-discovery may simply comprise redoing the previous discovery entirely. However, when it is desired to re-discover only a portion of an application, the discovery process does not start from the “root” entry point. Instead, the discovery process can start from a connection in the topology, which is the starting point to the portion of an application that it is desired to re-discover. Thereby, only the relevant portion of the topology is (re)discovered.

Skeleton-based re-discovery typically comprises a re-discovery of an application topology, which is a repetitive discovery for updating an application topology that was already discovered earlier and for which a skeleton was generated. The skeleton-based re-discovery process utilizes the information stored in the skeleton in order to perform a re-discovery much faster than an initial discovery. The process may also re-use information that was deduced or manually provided during the initial discovery process. The result of a skeleton-based re-discovery may comprise either an updated application topology, if it is found that the basic application topology (skeleton) has not changed, or a trigger to re-perform initial discovery if the skeleton does not match the identified application topology. Initial discovery may only be triggered for the part of the application that needs to be re-discovered.

The method of FIG. 8 comprises some or all of the following steps, suitably ordered, e.g., as shown.

At step 410, an application skeleton is received, which typically includes entry point and relevant knowledge base parts to apply in each tier. Also at step 410, credentials are received that enable sufficient access level to each component (e.g., a host) to retrieve all information required by the knowledge base.

The application skeleton generated by FIG. 4 is next traversed at step 420.

For each skeleton connection, a discovery task is created with information that was stored in the skeleton at step 430. The information typically includes at least some of: the pattern that is to be executed, credentials that are to be used and/or the frequency with which the discovery task need to be performed.

At step 440, and until the skeleton is deemed invalid, all tasks created in step 430 are performed (given the frequency of step 430). A skeleton is deemed invalid when the discovery process finds changes that contradict the current skeleton structure. This can happen, e.g., if a previously discovered connection is gone, or if some CI type has changed.

If changes are detected in the results of step 440, those results are used to update the topology of the application at step 450.

If, as a result of step 440, failures are detected and/or if new information is discovered that is inconsistent with that stored in the skeleton, the skeleton is marked as invalid at step 460, and the initial discovery process is re-initiated on at least part of the application. One example of an inconsistency is that a connection in the skeleton points to a WebSphere component, but the new information does not discover a WebSphere component there.

Referring now to FIGS. 9 and 10, it is appreciated that uses for skeleton-based discovery include application of policies at the skeleton level. Such policies may be associated in computer memory, with logical elements (e.g., a “tier”) of each application rather than only to specific instances of such logical elements.

In some cases, policies are defined on particular queries on the skeleton. For example, in a certain tier there may be a varying number of instances, perhaps currently four instances, residing currently at four respective known IP addresses a1, . . . a4, and a policy may be defined, according to which the average CPU utilization of these instances cannot exceed 70%. If 70% is exceeded, an alert is sent and/or a new instance is created. This is a tier-level condition (“if CPU utilization averaged over all instances in the tier is greater than 70%”), which is a far more stable, rather than a far less stable instance level condition (“if average CPU utilization of the elements located at the following four IP addresses a1, . . . a4 is greater than 70%”), which becomes inapplicable each time the number or identity of the instances in the tier change.

The generation of and use of impact tree, based on an existing skeleton, is now described below with reference to FIGS. 9 and 10. In an example of an impact tree, a tier may include eight Apache servers: If more than four are down, this causes impact toward the root of the tree, which is critical. Thus if four are down, there is an error. If six are down, this may have critical results. Re-discovery is executed periodically, e.g., every few minutes, and subsequently queries are re-sent and the impact is determined anew. From this discovery, an impact tree may be generated. It is appreciated that an impact may propagate to the root of the tree and affect the state of the business service as a whole.

The impact tree is based on a specific skeleton, e.g., as shown in FIGS. 9 and 10. It is appreciated that the skeleton is a useful tool for building the impact tree and for subsequently using the impact tree for efficiently maintaining the state of each of the elements of an application represented by the impact tree, including prioritization of maintenance operations between the various elements.

The method of FIG. 9 typically comprises some or all of the following steps, suitably ordered, e.g., as shown

At step 510, a skeleton is generated from the application structure.

At step 520, a default impact tree is derived from the skeleton. For example, a default impact tree may be defined or derived such that, for non-clustered children in the skeleton, the computed state of the parent in the default impact tree is the state of the child, and for clustered children in skeleton, the state of the parent in the default impact tree is defined to be the state of the child whose state is most severe. That is, if one child is in critical state then the state of the parent is critical. In another example, if all the children are “Healthy” other than one child whose state is “Warning,” then the state of the parent is “Warning.”

A user is able to change defaults at step 530 if desired. For example, a functionality may be provided that changes the rules regarding clustered children described above. The new rules may include that, if there are less than four elements in state “Healthy,” then the state of the cluster is “Warning,” if there are less than three healthy elements, the state is “Error,” and if there is only one healthy element, the state is “Critical.”

Step 540 begins the process of re-computing the impact tree each time status of an element of an application changes. Namely, for each parent Y of element X at step 550, a new state of Y is computed at step 560 according to impact rules. At step 570, the state of Y is set to the more severe between its current state and the state computed at step 560. Then, if the state of Y changes, then steps 550 and 560 may be performed for each parent of Y at step 570.

At step 580, the impact tree is used to show the state of entire application. Generally, for example, a dashboard can be used to show all discovered applications, each colored or otherwise designated according to its state/health. The impact tree can also be used for one or more what-if scenarios, e.g., to show what would be the status of a given application if a certain element status changes. This can accordingly determine if an element or elements can be removed or can be serviced at a certain time.

The method of FIG. 10 typically comprises some or all of the following steps, suitably ordered, e.g., as shown.

At step 1010, an event is received that changes the status of element X.

Updating starts at step 1020. Specifically, for each Y parent of X, the impact tree rules and the new status of X are used to compute the new status of Y. The status of Y is updated to the more severe between the newly computed value and the existing severity value for Y.

If the status of Y changes as a result, step 1020 is repeated at step 1030, with Y instead of X.

The methods of FIGS. 9 and 10 are useful for implementing skeleton-based policies. Policy compliance checking includes generating an output or display indicating that a non-compliance with a certain policy has been found, such as, say, exceeding of a policy limit on the maximum number of elements/instances in a tier, or of policy limits on various KPIs, such as but not limited to a maximum policy value for CPU utilization at the tier level having been exceeded. Policy enforcement refers to taking appropriate action such as but not limited to sending an alert, or actually adding a new instance to a tier in order to fix a breach of policy.

Two examples of skeleton-level policy applications are as follows.

A first such application is a skeleton-level representation and enforcement of affinity policies according to which, say, instances of a certain first tier are not allowed to be co-located on the same physical server as instances of a certain second tier. To implement this at skeleton level, the policy is associated with the tier in the skeleton, rather than with individual nodes in the application topology, which may change as frequently as every few minutes. Another example of an affinity policy that can be represented and enforced at the skeleton level in accordance with certain embodiments of the present disclosure is that a specific node may not be allowed to reside on a server in some particular geography.

A second such application is a skeleton-level representation and enforcement of network policy, such as that instances in a particular tier require a Gigabit connection. To implement this at skeleton level, the policy is associated with the tier in the skeleton, rather than with individual nodes in the application topology, which may change as frequently as every few minutes.

FIG. 11 is a simplified functional block diagram illustration of a system architecture useful for performing application structure generation, impact management and maintenance prioritization methods shown and described herein, for at least one given enterprise data center. The apparatus of FIG. 11 typically includes a main server also termed herein an “orchestrator,” collector(s) over which tasks to be performed in parallel, which may be distributed, and a database. The collectors perform discovery tasks including presenting queries to hosts and determining an identity (e.g., a load balancer) of an encountered element and its dependencies. This information typically is fed to the server/orchestrator. The database stores a knowledge base, including a pattern per known applicative component; application topology information, including a skeleton per each application; and the CIs, impact information, and any other information the system may be using.

From a security point of view, different collectors may be authorized, vis-à-vis different servers, with optional overlap between them. Load balancing may optionally be provided between collectors serving the same server(s).

In one implementation, only discovery tasks are distributed to the collector(s). However, it is appreciated that some or all of the following functionalities as described herein may be performed by the main server: initial discovery, skeleton builder, quick re-discovery, impact management, skeleton-based policy application, and handling of routine maintenance. According to certain embodiments, when an applicative component is encountered, the method of the present disclosure determines whether the applicative component is in the knowledge base and, if so, whether there is a pattern for that applicative component. As described herein, each pattern can include an application-specific set of rules for identifying a particular application and the connections from it. For example, for an Apache application, the documentation of a typical Apache installation may be analyzed in order to determine the process name and/or how to extract the relevant configuration.

If the applicative component type is in the knowledge base, the method determines if the customer used the application component in a standard way. If so, the method uses the set of rules or tests in the pattern of the applicative component to identify if the applicative component is used or not for this entry point.

If the applicative component type is in the knowledge base, and the component is used in a standard way, then it would typically be identified by the discovery process when the appropriate pattern is reached. The set of rules or tests in the pattern of the applicative component may be used to identify the applicative component and then to extract the connections from it to subsequent components.

If the customer used the application component in a non-standard way, e.g., used parameters in another way or hard-coded, the pattern associated with the application component in the knowledge base may not work. In this case, the user may be allowed to create a new pattern, or to modify an existing one, to support the new or modified application. This can be done using a pattern editor, e.g., by changing an existing pattern or by creating a new pattern from scratch. If the pattern is not in the knowledge base, the method may show an error indicating that the current element could not be identified. The method may not continue until the error is fixed, such as by human intervention. The system may suggest to the user possible ways to continue, e.g., by using a network sniffing module to identify possible connections. If the sniffer is successful in determining which outward communication is relevant to the application, such nodes may be added to the existing topology and the method may then continue.

It is appreciated that analysis of a complex computerized enterprise data center to determine the structure thereof is extremely useful for maintenance of the complex computerized enterprise. This is because individual elements not infrequently go out of order, causing a large number of calls to the information technology maintenance team in the enterprise. It is advantageous to prioritize these calls, rather than handling them in random or first-in-first-out order. If the structure of the applications in the enterprise data center is known and is up-to-date, prioritization of elements can be defined, e.g., by combining (using a maximum, average or other suitable formula) the importance of all applications affected by each particular element that is down. Also, replacement fixes can be implemented by temporarily assigning a replacement element to affected applications. Structure determination is also useful for servicing an enterprise application. For example, if a servicing operation involves disconnecting a particular element that has an impact on one or more critical applications, that servicing may be scheduled accordingly, e.g., at night, or a replacement element may be temporarily assigned to the affected critical applications.

It is appreciated that terminology such as “mandatory,” “required,” “need” and “must” refer to implementation choices made within the context of a particular implementation or application described herewithin for clarity and are not intended to be limiting, since in an alternative implantation, the same elements might be defined as not mandatory and not required or might even be eliminated altogether.

It is appreciated that software components of the present disclosure including programs, and data may, if desired, be implemented in read only memory (ROM) form including CD-ROMs, EPROMs and EEPROMs, or may be stored in any other suitable typically non-transitory computer-readable medium such as but not limited to disks of various kinds, cards of various kinds and RAMs. Components described herein as software may, alternatively, be implemented wholly or partly in hardware, if desired. Conversely, components described herein as hardware may, alternatively, be implemented wholly or partly in software, if desired.

Included in the scope of the present disclosure, inter alia, are electromagnetic signals carrying computer-readable instructions for performing any or all of the steps of any of the methods shown and described herein, in any suitable order; machine-readable instructions for performing any or all of the steps of any of the methods shown and described herein, in any suitable order; program storage devices readable by machine, tangibly embodying a program of instructions executable by the machine to perform any or all of the steps of any of the methods shown and described herein, in any suitable order; a computer program product comprising a computer useable medium having computer readable program code, such as executable code, having embodied therein, and/or including computer readable program code for performing any or all of the steps of any of the methods shown and described herein, in any suitable order; any technical effects brought about by any or all of the steps of any of the methods shown and described herein, when performed in any suitable order; any suitable apparatus or device or combination of such, programmed to perform, alone or in combination, any or all of the steps of any of the methods shown and described herein, in any suitable order; electronic devices each including a processor and a cooperating input device and/or output device and operative to perform in software any steps shown and described herein; information storage devices or physical records, such as disks or hard drives, causing a computer or other device to be configured so as to carry out any or all of the steps of any of the methods shown and described herein, in any suitable order; a program pre-stored, e.g., in memory or on an information network such as the Internet, before or after being downloaded, which embodies any or all of the steps of any of the methods shown and described herein, in any suitable order, and the method of uploading or downloading such, and a system including server(s) and/or client(s) for using such; and hardware that performs any or all of the steps of any of the methods shown and described herein, in any suitable order, either alone or in conjunction with software. Any computer-readable or machine-readable media described herein is intended to include non-transitory computer- or machine-readable media. Any computations or other forms of analysis described herein may be performed by a suitable computerized method. Any step described herein may be computer-implemented. The embodiments shown and described herein may include (a) using a computerized method to identify a solution to any of the problems or for any of the objectives described herein, the solution optionally including at least one of a decision, an action, a product, a service or any other information described herein that impacts, in a positive manner, a problem or objectives described herein; and (b) outputting the solution.

The scope of the present invention is not limited to structures and functions specifically described herein and is also intended to include devices that have the capacity to yield a structure, or perform a function, described herein, such that even though users of the device may not use the capacity, they are if they so desire able to modify the device to obtain the structure or function.

Features of the present disclosure that are described in the context of separate embodiments may also be provided in combination in a single embodiment. Conversely, features of the disclosure, including method steps, which are described for brevity in the context of a single embodiment or in a certain order, may be provided separately or in any suitable sub-combination or in a different order. The term “e.g.” is used herein in the sense of a specific example that is not intended to be limiting. Devices, apparatus, or systems shown coupled in any of the drawings may in fact be integrated into a single platform in certain embodiments or may be coupled via any appropriate wired or wireless coupling, such as but not limited to optical fiber, Ethernet, Wireless LAN, HomePNA, power line communication, cell phone, PDA, Blackberry GPRS, Satellite including GPS, or other mobile delivery. It is appreciated that in the description and drawings shown and described herein, functionalities described or illustrated as systems and sub-units thereof can also be provided as methods and steps there within, and functionalities described or illustrated as methods and steps there within can also be provided as systems and sub-units thereof. The scale used to illustrate various elements in the drawings is merely exemplary and/or appropriate for clarity of presentation and is not intended to be limiting. 

1. A method for a discovering and generating an application structure for a computerized system, the method comprising: receiving indication of a first entry point; initiating a discovery process from the first entry point; discovering a first object connected to the first entry point via a first connection by applying one or more discovery patterns; continuing the discovery process to discover a second object using the first object as a second entry point, wherein the first entry point and the second entry point are different from one another, and wherein the first entry point and the second entry point are connected to one another via a second connection; and updating the application structure based on the discovery process.
 2. The method of claim 1, wherein the discovery process comprises recursively identifying one or more new objects connected to one or more identified entry points via one or more new connections.
 3. The method of claim 1, comprising determining that a third connection is associated with the second object.
 4. The method of claim 3, continuing the discovery process to discover a third object using the second object as a third entry point, wherein the second entry point and the third entry point are different from one another, and wherein the second entry point and the third entry point are connected to one another via the third connection.
 5. The method of claim 1, comprising running operating system discovery against the first object.
 6. The method of claim 1, comprising identifying a first process running on the first object that is associated with the first entry point.
 7. The method of claim 6, wherein identifying the first process comprises listening on a port associated with the first entry point.
 8. The method of claim 1, wherein a first pattern of the one or more discovery patterns comprises a set of rules usable to identify a presence of a particular item on the first object.
 9. The method of claim 1, wherein each of the one or more discovery patterns comprises an identification section used to identify the first object and a connection section used to identify the first connection, after the first object has been identified
 10. The method of claim 9, wherein the connection section comprises a first set of rules defining one or more steps for searching for a configuration file, parsing the configuration file, extracting parameters from the configuration file, identifying at least one other entry point, other than the second entry point, using the extracted parameters, or any combination thereof.
 11. The method of claim 9, wherein the identification section comprises a second set of rules defining one or more steps for extracting a process executable name, comparing the process executable name against a predetermined string, or a combination thereof.
 12. The method of claim 9, wherein the identification section comprises a second set of rules defining one or more steps for searching for specified files, parsing the specified files, searching a registry for specified information, or a combination thereof.
 13. A computerized system for discovering and generating an application structure, the system comprising: a server device having a processor and a memory, the processor configured to execute instructions stored in the memory to perform operations comprising: receiving indication of a first entry point; initiating a discovery process from the first entry point; discovering a first object connected to the first entry point via a first connection by applying one or more discovery patterns; continuing the discovery process to discover a second object using the first object as a second entry point, wherein the first entry point and the second entry point are different from one another, and wherein the first entry point and the second entry point are connected to one another via a second connection; and updating the application structure based on the discovery process.
 14. The system of claim 13, the operations comprising: creating a first configuration item, wherein the first configuration item is associated with the first object and defines a first set of attributes associated with the first object; storing the first configuration item in a database; creating a second configuration item, wherein the second configuration item is associated with the second object and defines a second set of attributes associated with the second object; and storing the second configuration item in the database.
 15. The system of claim 14, the operations comprising determining whether the first configuration item matches an existing configuration item stored in the database before storing the first configuration item in the database.
 16. The system of claim 13, the operations comprising identifying a cluster of objects including the first object and the second object.
 17. The system of claim 13, to the operations comprising deriving a skeleton from the application structure.
 18. The system of claim 17, the operations comprising identifying a changed portion of the skeleton, and re-discovering a portion of the application structure associated with the changed portion of the skeleton.
 19. The system of claim 13, the operations comprising receiving a plurality of events associated with the application, associating events of the plurality of events with elements included in the application structure, and calculating an impact of the events on at least some of the elements included in the application structure.
 20. A non-transitory, tangible, computer readable medium storing instructions that, when executed by one or more hardware processor, cause the process to perform operations comprising: receiving indication of a first entry point; initiating a discovery process from the first entry point; discovering a first object connected to the first entry point via a first connection by applying one or more discovery patterns; continuing the discovery process to discover a second object using the first object as a second entry point, wherein the first entry point and the second entry point are different from one another, and wherein the first entry point and the second entry point are connected to one another via a second connection; and updating an application structure based on the discovery process. 